﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Bot.Domain.BotImport;
using Comm100.Domain.Entity;
namespace Bot.Domain.Entities
{
    [Table("t_Chatbot_AnswerInChannel_Form_Field")]
    public class AnswerInChannelFormField
    {
        [Key]             
        public Guid Id { get; set; }
        public Guid FormId { get; set; }
        public Guid? EntityId { get; set; }
        public string Name { get; set; }
        public string EntityLabel { get; set; }
        public EnumFieldType Type { get; set; }
        public bool IsRequired { get; set; }
        public bool IsMasked { get; set; }
        public string Options { get; set; }
        [NotMapped]
        public virtual Entity Entity { get; set; }
    }
}
